package io.cici.cc.mybatis.lite.sql_source.scripting.tag;

import io.cici.cc.mybatis.lite.sql_source.Context;

import java.util.List;


public class MixedTag implements Tag {
    private final List<Tag> tagList;

    public MixedTag(List<Tag> tagList) {
        this.tagList = tagList;
    }

    @Override
    public boolean apply(Context context) {
        tagList.forEach(node -> node.apply(context));
        return true;
    }
}
